import random
x=0
y=0
c=0
N=int(input('количество выстрелов'))
if N>0:
    for i in range(N):
        x=random.randint(-100,100)
        y=random.randint(-100,100)
elif x<0 and y>0 and x<=5 and y<=5:
    c+=1
elif x<0 and y>0 and x>=-7 and y<=5:
    c+=1
elif x<0 and y<0 and x>=-7 and y>=-8:
    c+=1
elif x>0 and y<0 and x>=5 and y>=-8:
    c+=1
print('количеcтво попаданий:',c)
    
